﻿<cfsilent>

	<cfset event.setArg("pageTitle", "应用程序出错") />

	<cfset exception = event.getArg("exception") />
	<cfset securityAdvice = getProperty("serviceFactory").getBean("securityAdvice") />

</cfsilent>

<div id="globalContainer" class="hasLeftCol">
	<div id="content" class="fb_content clearfix">
		<div id="mainContainer">
			<div id="leftColContainer">
				<div id="leftCol"> 
					<!-- pageNavigater-->
					<cfoutput>#event.getArg("defaultNavigater")#</cfoutput>
					<!-- /pageNavigater--> 
				</div>
			</div>
			<div id="contentCol" class="clearfix">
				<div id="contentArea" class="exception">
					<h3>Mach-II Exception</h3>
					<cfoutput>
						<table>
                              	<tr>
								<td valign="top"><h4>提示</h4></td>
								<td valign="top"><p style="color:red">这儿遇到一个处理的错误，请将本页面地址和截图反馈给我们 <img  style="CURSOR: pointer" onclick="javascript:window.open('http://wpa.qq.com/msgrd?v=3&uin=769981680&site=教务系统&menu=yes', '_blank', 'height=502, width=644,toolbar=no,scrollbars=no,menubar=no,status=no');"  border="0" SRC=http://wpa.qq.com/pa?p=1:769981680:1 alt="点击这里给我发消息"></p></td>
							</tr>
							<tr>
								<td valign="top"><h4>Message</h4></td>
								<td valign="top"><p>#exception.getMessage()#</p></td>
							</tr>
							<!---<cfif securityAdvice.getIP() eq "127.0.0.1">--->
							<tr>
								<td valign="top"><h4>Detail</h4></td>
								<td valign="top"><p>#exception.getDetail()#</p></td>
							</tr>
							<tr>
								<td valign="top"><h4>Extended Info</h4></td>
								<td valign="top"><p>#exception.getExtendedInfo()#</p></td>
							</tr>
							<tr>
								<td valign="top"><h4>Tag Context</h4></td>
								<td valign="top"><cfset tagCtxArr = exception.getTagContext() />
									<cfloop index="i" from="1" to="#ArrayLen(tagCtxArr)#">
										<cfset tagCtx = tagCtxArr[i] />
										<p>#tagCtx['template']# (#tagCtx['line']#)</p>
									</cfloop></td>
							</tr>
							<!---</cfif>--->
						</table>
					</cfoutput>
				</div>
			</div>
		</div>
	</div>
	
	<!-- pageFoot-->
	<cfoutput>#event.getArg("defaultFoot")#</cfoutput>
	<!-- /pageFoot-->
	
</div>
